package com.lab.pojo;

import java.util.Date;

/**
 * History entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class History implements java.io.Serializable {

	// Fields

	private Integer id;
	private String sensorName;
	private String sensorPropertyName;
	private String sensorPropertyValue;
	private Date time;

	// Constructors

	/** default constructor */
	public History() {
	}

	/** full constructor */
	public History(String sensorName, String sensorPropertyName,
			String sensorPropertyValue, Date time) {
		this.sensorName = sensorName;
		this.sensorPropertyName = sensorPropertyName;
		this.sensorPropertyValue = sensorPropertyValue;
		this.time = time;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getSensorName() {
		return this.sensorName;
	}

	public void setSensorName(String sensorName) {
		this.sensorName = sensorName;
	}

	public String getSensorPropertyName() {
		return this.sensorPropertyName;
	}

	public void setSensorPropertyName(String sensorPropertyName) {
		this.sensorPropertyName = sensorPropertyName;
	}

	public String getSensorPropertyValue() {
		return this.sensorPropertyValue;
	}

	public void setSensorPropertyValue(String sensorPropertyValue) {
		this.sensorPropertyValue = sensorPropertyValue;
	}

	public Date getTime() {
		return this.time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

}